using B.S.NewMedical.Api.Read.DTOS.Carousel;
using B.S.NewMedical.ErrorCode;
using MediatR;
using System.Collections.Generic;

namespace B.S.NewMedical.Api.Read.Application.Command.ContentManagement.Carousel
{
    /// <summary>
    /// 获取轮播图列表命令
    /// </summary>
    public class GetCarouselsCommand : IRequest<ApiPageing<List<CarouselDto>>>
    {
        /// <summary>
        /// 查询条件
        /// </summary>
        public CarouselQueryDto QueryDto { get; set; }

        public GetCarouselsCommand(CarouselQueryDto queryDto)
        {
            QueryDto = queryDto ?? new CarouselQueryDto();
        }
    }
}